/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Actions;

import Users.Customer;
import com.opensymphony.xwork2.ActionSupport;

/**
 *
 * @author Adjell Ian
 */
public class UpdateDetails extends ActionSupport {

    private Customer customer;
    private String passwordcur;
    private String password1;
    private String password2;
    private int creditnocur;
    private int creditno1;
    private int creditno2;

    public UpdateDetails() {
    }

    @Override
    public String execute() throws Exception {
        return ERROR;
    }

    public String editpersonal() throws Exception {
        return SUCCESS;
    }

    public String editdelivery() throws Exception {
        return SUCCESS;
    }

    public String editpayment() throws Exception {
        return SUCCESS;
    }

    public String editbilling() throws Exception {
        return SUCCESS;
    }

    /**
     * @return the customer
     */
    public Customer getCustomer() {
        return customer;
    }

    /**
     * @param customer the customer to set
     */
    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    /**
     * @return the passwordcur
     */
    public String getPasswordcur() {
        return passwordcur;
    }

    /**
     * @param passwordcur the passwordcur to set
     */
    public void setPasswordcur(String passwordcur) {
        this.passwordcur = passwordcur;
    }

    /**
     * @return the password1
     */
    public String getPassword1() {
        return password1;
    }

    /**
     * @param password1 the password1 to set
     */
    public void setPassword1(String password1) {
        this.password1 = password1;
    }

    /**
     * @return the password2
     */
    public String getPassword2() {
        return password2;
    }

    /**
     * @param password2 the password2 to set
     */
    public void setPassword2(String password2) {
        this.password2 = password2;
    }

    /**
     * @return the creditnocur
     */
    public int getCreditnocur() {
        return creditnocur;
    }

    /**
     * @param creditnocur the creditnocur to set
     */
    public void setCreditnocur(int creditnocur) {
        this.creditnocur = creditnocur;
    }

    /**
     * @return the creditno1
     */
    public int getCreditno1() {
        return creditno1;
    }

    /**
     * @param creditno1 the creditno1 to set
     */
    public void setCreditno1(int creditno1) {
        this.creditno1 = creditno1;
    }

    /**
     * @return the creditno2
     */
    public int getCreditno2() {
        return creditno2;
    }

    /**
     * @param creditno2 the creditno2 to set
     */
    public void setCreditno2(int creditno2) {
        this.creditno2 = creditno2;
    }
}
